package PTA.Mianxiangduixiang.ex24;

import java.util.Scanner;

class Goods{
    private String num;
    private String name;
    private double price;

    public Goods() {
    }

    public Goods(String num, String name, double price) {
        this.num = num;
        this.name = name;
        this.price = price;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return  num+","+name+","+price;
    }
}

public class ex24 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String str[]=line.split(" ");
        double s = Double.parseDouble(str[2]);
        Goods a= new Goods(str[0],str[1],s);
        System.out.println(a.toString());
    }
}
